package com.iss.ljx.organ.service;

import com.iss.ljx.mybatis.entity.PtMenuEntity;
import com.iss.ljx.mybatis.entity.PtOrganEntity;
import com.iss.ljx.mybatis.flexigrid.PadingRstType;
import com.iss.ljx.mybatis.flexigrid.PagingBean;
import com.iss.ljx.mybatis.ztree.ZtreeEntity;
import com.iss.ljx.organ.entity.SearchOrganEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OrganService {
    PadingRstType<PtOrganEntity> queryOrganListPage(SearchOrganEntity search, PagingBean paging);
    void insertOrgan(@Param("ptOrganEntity") PtOrganEntity ptOrganEntity);
    void organDelete(String organUuid);
    void organUpdate(PtOrganEntity ptOrganEntity);

    List<ZtreeEntity> getOrganTreeByOrganUuid(String organUuid);
    void boundOrgan(String OrganUuid, String parentUuid);

    void unBoundByOrganUuid(String organUuid);

    PtOrganEntity getOrganInfoByUuid(String organUuid);
}
